package com.qdu.entity;

public class Batch {
	private int bid;
	private Major major;
	private String bname;
	private int bcapacity;
	
	@Override
	public String toString() {
		return "Batch [bid=" + bid + ", major=" + major + ", bname=" + bname + ", bcapacity=" + bcapacity + "]";
	}
	public int getBid() {
		return bid;
	}
	public void setBid(int bid) {
		this.bid = bid;
	}
	public Major getMajor() {
		return major;
	}
	public void setMajor(Major major) {
		this.major = major;
	}
	public String getBname() {
		return bname;
	}
	public void setBname(String bname) {
		this.bname = bname;
	}
	public int getBcapacity() {
		return bcapacity;
	}
	public void setBcapacity(int bcapacity) {
		this.bcapacity = bcapacity;
	}
	
}
